package com.example.news_demo.mapper;

import com.example.news_demo.entity.Article;
import com.example.news_demo.entity.ArticleWord;
import com.example.news_demo.entity.Vocabulary;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface VocabularyMapper {
    void insertArticleWord(@Param("articleWordList") List<ArticleWord> articleWordList);

    void insertVocabulary(@Param("vocabularyList") List<Vocabulary> vocabularyList);
}
